{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>足迹详情</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">

                    <div class="form-group">
                        <label class="col-sm-3 control-label">用户ID：</label>
                        <div class="input-group col-sm-4">
                            <input id="user_id" type="text" class="form-control" name="user_id"
                                   value="{$info.user_id}" disabled>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label">用户名称：</label>
                        <div class="input-group col-sm-4">
                            <input id="user_username" type="text" class="form-control" name="user_username"
                                   value="{$info.user_username}" disabled>
                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">头像：</label>
                        <div class="input-group col-sm-5">
                            <img id="user_image" height="100px"
                                 style="float:left;margin-left: 50px;margin-top: 20px;cursor:pointer;"
                                 src="{$info.user_image}"
                                 onerror="this.src='/static/admin/images/head_default.gif'" class="img-circle"/>
                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">用户身份：</label>
                        <div class="input-group col-sm-4">
                            <input id="user_type" type="text" class="form-control" name="user_type"
                                   value="{if $info.user_type==1}普通用户{/if}{if $info.user_type==2}经纪人{/if}"
                                   disabled>
                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">访问日期：</label>
                        <div class="input-group col-sm-4">
                            <input id="his_date" type="text" class="form-control" name="his_date"
                                   value="{$info.his_date}"
                                   disabled>
                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">房源名称：</label>
                        <div class="input-group col-sm-4">
                            <input id="h_title" type="text" class="form-control" name="h_title"
                                   value="{$info.h_title}"
                                   disabled>
                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">房源所在地：</label>
                        <div class="input-group col-sm-4">
                            <input id="h_xiaoqu" type="text" class="form-control" name="h_xiaoqu"
                                   value="{$info.h_xiaoqu}"
                                   disabled>
                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">具体地址：</label>
                        <div class="input-group col-sm-4">
                            <input id="address" type="text" class="form-control" name="address"
                                   value="{$info.address}"
                                   disabled>
                        </div>
                    </div>


                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        {if condition="$info.h_type eq 1"}
                        <label class="col-sm-3 control-label">租金：</label>
                        {else /}
                        <label class="col-sm-3 control-label">价格：</label>
                        {/if}
                        <div class="input-group col-sm-4">
                            <input id="h_price" type="text" class="form-control" name="h_price"
                                   value="{$info.h_price}"
                                   disabled>
                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">户型：</label>
                        <div class="input-group col-sm-4">
                            <input id="huxing" type="text" class="form-control" name="huxing"
                                   value="{$info.huxing}"
                                   disabled>
                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">面积：</label>
                        <div class="input-group col-sm-4">
                            <input id="h_mianji" type="text" class="form-control" name="h_mianji"
                                   value="{$info.h_mianji}"
                                   disabled>
                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">房源缩略图：</label>
                        <div class="input-group col-sm-5">
                            <img id="h_img" height="100px"
                                 style="float:left;margin-left: 50px;margin-top: 20px;cursor:pointer;"
                                 src="{$info.h_img}"
                                 onerror="this.src='/static/admin/images/head_default.gif'" class="img-circle"/>
                        </div>
                    </div>

                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">房源图片：</label>
                        {if count($info.h_images) >0}
                        <div class="input-group col-sm-5">
                            {volist name='info.h_images' id='vo'}
                            <img id="h_images" height="100px"
                                 style="float:left;margin-left: 50px;margin-top: 20px;cursor:pointer;"
                                 src="{$vo}"
                                 onerror="this.src='/static/admin/images/head_default.gif'" class="img-circle"/>
                            {/volist}
                        </div>
                        {else /}
                        暂无图片
                        {/if}
                    </div>

                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <div class="col-sm-4 col-sm-offset-3">
                            <a class="btn btn-danger" href="javascript:history.go(-1);"><i class="fa fa-close"></i>
                                返回</a>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
{include file="public/footer" /}

<script type="text/javascript" src="__JS__/Crop.js"></script>
<script type="text/javascript" src="__JS__/jquery.min.js"></script>
<script type="text/javascript">

</script>
</body>
</html>